<label for="f_{$field.name|escape}">{if isset($field.label)}{$field.label|escape}{else}{$field.name|escape}{/if}</label>
<input id="f_{$field.name|escape}" type="text" name="{$field.name|escape}" value="{$field.data|escape}" />{if $field.required}*{/if}